package com.ruicar.afs.cloud.risk.tortoise.dto.response.apply;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruicar.afs.cloud.risk.tortoise.dto.response.GwtRefData;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description
 * @Author Peng Jinbo
 * @Date 2020/07/27 18:33
 */
@Data
@AllArgsConstructor
@Builder
@ApiModel("申请信息 - applyInfo")
public class GwtApply extends GwtRefData implements Serializable {

    /**
     * Main
     */
    @JsonInclude
    @JSONField(name = "camain")
    @JsonProperty("camain")
    private GwtMain main;

    /**
     * Finance product
     */
    @JsonInclude
    @JSONField(name = "cafinancial")
    @JsonProperty("cafinancial")
    private GwtFinanceProduct financeProduct;

    /**
     * Contract
     */
    @JsonInclude
    @JSONField(name = "cacontract")
    @JsonProperty("cacontract")
    private GwtContract contract;

    /**
     * Old car
     */
    @JsonInclude
    @JSONField(name = "caoldvehicle")
    @JsonProperty("caoldvehicle")
    private GwtOldCar oldCar;

    /**
     * New car
     */
    @JsonInclude
    @JSONField(name = "cavehicle")
    @JsonProperty("cavehicle")
    private GwtNewCar newCar;

    /**
     * Contact
     */
    @JsonInclude
    @JSONField(name = "caurgentparty")
    @JsonProperty("caurgentparty")
    private List<GwtContact> contactList;

    /**
     * Affiliated
     */
    @JsonInclude
    @JSONField(name = "caanchoredinfo")
    @JsonProperty("caanchoredinfo")
    private GwtAffiliated affiliated;

    /**
     * Dealer
     */
    @JsonInclude
    @JSONField(name = "dealerinfo")
    @JsonProperty("dealerinfo")
    private GwtDealer dealer;



}
